home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine CD 1995
/
Archive Magazine CD 1995.iso
/
discs
/
shareware
/
share_41
/
assembler
/
examples
/
multiply
< prev
next >
Wrap
Text File
|
1991-05-14
|
279b
|
14 lines
; NAME multiply
; PURPOSE multiplies number1 * number2 to give number3
; DESIGN
; copy number1, number2, number3 to r6, r7, r8
; multiply
; store result in number3
ldr r6, [r1]
ldr r7, [r2]
ldr r8, [r3]
mul r8, r7, r6
str r8, [r3]